!function(){var e,t,n,i,r=window.location,a=window.document,e=a.currentScript,o={};function u(e,t,n){window.fetch&&fetch(e,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(t)}).then(function(e){n&&n.callback&&n.callback({status:e.status})}).catch(function(e){n&&n.callback&&n.callback({error:e})})}var c=!1,l=location.href,s={},d=-1,p=0,v=0;function f(){var e=w();if(!t&&(d=3e3)){d=i;var r={n:"engagement",sd:Math.round(i/n*100),d:o.domain,u:l,p:s,e:e,v:20};p=0,v=0,r.h=1,u(o.endpoint,r)}}function m(){"visible"===document.visibilityState&&document.hasFocus()&&0===p?p=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(v=w(),p=0,f())}function w(){return p?v+(Date.now()-p):v}function g(){var e=document.body||{},t=document.documentElement||{};return Math.max(e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0,t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0)}function h(){var e=document.body||{},t=document.documentElement||{},i=window.innerHeight||t.clientHeight||0,r=window.scrollY||t.scrollTop||e.scrollTop||0;return n<=i?n:r+i}function b(w,b){var k,L="pageview"===w;if(L&&c&&(f(),n=g(),i=h()),/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(r.hostname)||"file:"===r.protocol)return y(w,b,"localhost");if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return y(w,b);try{if("true"===window.localStorage.plausible_ignore)return y(w,b,"localStorage flag")}catch(e){}var E={};E.n=w,E.v=20,E.u=r.href,E.d=o.domain,E.r=a.referrer||null,b&&b.meta&&(E.m=JSON.stringify(b.meta)),b&&b.props&&(E.p=b.props),b&&!1===b.interactive&&(E.i=!1),b&&b.revenue&&(E.$=b.revenue);var x=e.getAttributeNames().filter(function(e){return"event-"===e.substring(0,6)}),k=E.p||{};x.forEach(function(t){var n=t.replace("event-",""),i=e.getAttribute(t);k[n]=k[n]||i}),E.p=k,E.h=1,L&&(t=!1,l=E.u,s=E.p,d=-1,v=0,p=Date.now(),c||(document.addEventListener("visibilitychange",m),window.addEventListener("blur",m),window.addEventListener("focus",m),c=!0)),u(o.endpoint,E,b)}function y(e,n,i){i&&o.logging&&console.warn("Ignoring Event: "+i),n&&n.callback&&n.callback(),"pageview"===e&&(t=!0)}var k=["pdf","xlsx","docx","txt","rtf","csv","exe","key","pps","ppt","pptx","7z","pkg","rar","gz","zip","avi","mov","mp4","mpeg","wmv","midi","mp3","wav","wma","dmg"],L=k;function E(e){return e&&e.tagName&&"a"===e.tagName.toLowerCase()}function x(e){if("auxclick"!==e.type||1===e.button){var t=function(e){for(;e&&(void 0===e.tagName||!E(e)||!e.href);)e=e.parentNode;return e}(e.target),n=t&&t.href&&t.href.split("?")[0];if(!function e(t,n){return!!t&&!(n>3)&&(!!S(t)||e(t.parentNode,n+1))}(t,0)){if(t&&t.href&&t.host&&t.host!==r.host)return N(e,t,{name:"Outbound Link: Click",props:{url:t.href}});if(function(e){if(!e)return!1;var t=e.split(".").pop();return L.some(function(e){return e===t})}(n))return N(e,t,{name:"File Download",props:{url:n}})}}}function N(e,t,n){var i=!1;function r(){i||(i=!0,window.location=t.href)}if(function(e,t){if(e.defaultPrevented)return!1;var n=!t.target||t.target.match(/^_(self|parent|top)$/i),i=!(e.ctrlKey||e.metaKey||e.shiftKey)&&"click"===e.type;return n&&i}(e,t)){var a={props:n.props,callback:r};a.revenue=n.revenue,b(n.name,a),setTimeout(r,5e3),e.preventDefault()}else{var a={props:n.props};a.revenue=n.revenue,b(n.name,a)}}function S(e){var t=e&&e.classList;if(t){for(var n=0;ni&&(i=e)}),function(e){var t;function n(n){t=r.pathname,e("pageview")}window.addEventListener("hashchange",function(){n(!0)}),"hidden"===a.visibilityState||"prerender"===a.visibilityState?a.addEventListener("visibilitychange",function(){t||"visible"!==a.visibilityState||n()}):n(),window.addEventListener("pageshow",function(e){e.persisted&&n()})}(b),function(){a.addEventListener("click",x),a.addEventListener("auxclick",x);var t=e.getAttribute("file-types"),n=e.getAttribute("add-file-types");function i(e){if("auxclick"!==e.type||1===e.button){for(var t,n,i,r=e.target,a=0;a<=3&&r;a++){if((t=r)&&t.tagName&&"form"===t.tagName.toLowerCase())return;E(r)&&(n=r),S(r)&&(i=r),r=r.parentNode}if(i){var o=H(i);if(n)o.props.url=n.href,N(e,n,o);else{var u={};u.props=o.props,u.revenue=o.revenue,b(o.name,u)}}}}t&&(L=t.split(",")),n&&(L=n.split(",").concat(k)),a.addEventListener("submit",function(e){var t=e.target,n=H(t);if(n.name){e.preventDefault();var i=!1;setTimeout(a,5e3);var r={props:n.props,callback:a};r.revenue=n.revenue,b(n.name,r)}function a(){i||(i=!0,t.submit())}}),a.addEventListener("click",i),a.addEventListener("auxclick",i)}();for(var c=window.plausible&&window.plausible.q||[],l=0;l